const Mock = require('mockjs')


module.exports = () => {
	return Mock.mock({
		"list|100": [{
			"id": "@id",
			"image": "https://robohash.org/@id?set=set@integer(1,5)",
			"title": "@ctitle",
			"desc": "@cword(10, 20)"
		}],
		"tab|60": [{
			"title": "@ctitle(2)",
			"id": "@id",
			"children|10-20": [{
				"id": "@id",
				"image": "https://robohash.org/@id?set=set@integer(1,5)",
				"title": "@ctitle",
				"desc": "@cword(10, 20)"
			}]
		}]
	})
}